package rtmp;

/**
 * 保存csid 不同流对应的head信息
 */
public class HeadInfo {
    private int timestamp;
    private int messageLength;
    private RtmpMessage messageType;
    public HeadInfo(int timestamp, int messageLength, RtmpMessage messageType) {
        this.timestamp = timestamp;
        this.messageLength = messageLength;
        this.messageType = messageType;
    }

    public int getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(int timestamp) {
        this.timestamp = timestamp;
    }

    public int getMessageLength() {
        return messageLength;
    }

    public void setMessageLength(int messageLength) {
        this.messageLength = messageLength;
    }

    public RtmpMessage getMessageType() {
        return messageType;
    }

    public void setMessageType(RtmpMessage messageType) {
        this.messageType = messageType;
    }
}
